<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var d = new Date();
        // var year = d.getFullYear();
        // var month = d.getMonth();
        // var date = d.getDate();
        // var day = d.getDay();
        // console.log(d.getTime());
        var hours = d.getHours();
        var minutes = d.getMinutes();
        var seconds = d.getSeconds();
        console.log(hours + ":" + minutes + ":" + seconds);
        
    </script>
</body>
</html>